package cn.silver.module.oss.domain;

import cn.silver.framework.mybatis.annotation.Table;
import cn.silver.framework.mybatis.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author zhouxiaobo
 */
@Data
@NoArgsConstructor
@Table(name = "oss_transport_detail")
@EqualsAndHashCode(callSuper = true)
@Schema(name = "OssTransportDetail", title = "对象存储管理-文件上传信息-上传明细信息")
public class OssTransportDetail extends BaseEntity implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 上传任务ID
     */
    @Schema(title = "上传任务ID")
    private String uploadId;
    /**
     * 分片序号
     */
    @Schema(title = "分片序号")
    private Integer chunkNo;
    /**
     * 分片大小
     */
    @Schema(title = "分片大小")
    private Integer chunkSize;
}
